Oops, using the same list twice does prevent streaming in constant memory.
Sponsored-by: unqueued on Patreon
* reinject: Fix support for operating on multiple pairs of files and keys.
* importfeed: Support -J
* importfeed: Support --json-progress
+ * uninit: Avoid buffering the names of all annexed files in memory.
-- Joey Hess <id@joeyh.name> Sat, 08 Apr 2023 13:57:18 -0400
seek :: CommandParams -> CommandSeek
seek = withNothing $ do
- l <- workTreeItems ww []
withFilesNotInGit
(CheckGitIgnore False)
(WarnUnmatchWorkTreeItems "uninit")
checksymlinks
- l
- withFilesInGitAnnex ww (Command.Unannex.seeker True) l
+ =<< workTreeItems ww []
+ withFilesInGitAnnex ww (Command.Unannex.seeker True)
+ =<< workTreeItems ww []
finish
where
ww = WarnUnmatchLsFiles "uninit"